home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / bookmarks / addLivemark.xul < prev    next >
Extensible Markup Language  |  2007-07-18  |  5KB  |  106 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
  2. <!--
  3.      BEGIN FLOCK GPL
  4.      
  5.      Copyright Flock Inc. 2005-2007
  6.      http://flock.com
  7.      
  8.      This file may be used under the terms of of the
  9.      GNU General Public License Version 2 or later (the "GPL"),
  10.      http://www.gnu.org/licenses/gpl.html
  11.      
  12.      Software distributed under the License is distributed on an "AS IS" basis,
  13.      WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  14.      for the specific language governing rights and limitations under the
  15.      License.
  16.      
  17.      END FLOCK GPL
  18. -->
  19.  
  20. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  21. <?xml-stylesheet href="chrome://browser/content/bookmarks/bookmarks.css"?>
  22. <?xml-stylesheet href="chrome://browser/skin/bookmarks/bookmarksProperties.css" type="text/css"?>
  23. <?xml-stylesheet href="chrome://browser/skin/flock/bindings/tagbox.css" type="text/css"?>
  24. <?xml-stylesheet href="chrome://browser/content/flock/bindings/bindings.css" type="text/css"?>
  25. <?xml-stylesheet href="chrome://browser/skin/bookmarks/addBookmark.css"?>
  26.  
  27. <!DOCTYPE dialog [
  28. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  29. %brandDTD;
  30. <!ENTITY % addBookmarkDTD SYSTEM "chrome://browser/locale/bookmarks/addBookmark.dtd">
  31. %addBookmarkDTD;
  32. <!ENTITY % bmpropsDTD SYSTEM "chrome://browser/locale/bookmarks/bookmarksProperties.dtd">
  33. %bmpropsDTD;
  34. <!ENTITY % bookmarksDTD SYSTEM "chrome://browser/locale/bookmarks/bookmarks.dtd">
  35. %bookmarksDTD;
  36. <!ENTITY % favoritesDTD SYSTEM "chrome://flock/locale/favorites/favorites.dtd" >
  37. %favoritesDTD;
  38. <!ENTITY % favOverlayDTD SYSTEM "chrome://flock/locale/favorites/bookmarksOverlay.dtd" >
  39. %favOverlayDTD;
  40. ]>
  41. <?xul-overlay href="chrome://browser/content/bookmarks/addBookmarksShareOverlay.xul"?>
  42. <dialog id="bmPropsWindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  43.         title="New Feedmark"
  44.         onload="Init();" style="width: 30em;"
  45.         buttons="accept,cancel" 
  46.         ondialogaccept="return Commit();">
  47.  
  48.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  49.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"/>
  50.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarksCommonFeatures.js"/>
  51.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/addLivemark.js"/>
  52.   <vbox class="box-padded" flex="1">
  53.     <grid flex="1">
  54.       <columns>
  55.         <column />
  56.         <column flex="1"/>
  57.       </columns>
  58.       <rows flex="1">
  59.         <row align="center">
  60.           <label value="&bookmarks.name.label;" control="name"/>
  61.           <textbox id="name" />
  62.         </row>
  63.         <row id="feedurlrow" align="center">
  64.           <label value="&bookmarks.feedurl.label;" control="feedurl"/>
  65.           <textbox id="feedurl" />
  66.         </row>
  67.       </rows>
  68.     </grid>
  69.     <separator class="thin"/>
  70.     <hbox>
  71.       <menulist id="select-menu" class="folder-icon" flex="1"
  72.                 oncommand="selectMenulistFolder(event);">
  73.         <menupopup datasources="rdf:flock-favorites" ref="http://flock.com/rdf#FoldersRoot">
  74.           <menuitem class="menuitem-iconic folder-icon"
  75.                     label="&bookmarksRoot.label;"
  76.                     id="http://flock.com/rdf#BookmarksRoot"/>
  77.           <menuitem class="menuitem-iconic folder-icon"
  78.                     label="&flock.bookmarksToolbar.label;"
  79.                     id="btfMenuItem"/>
  80.           <menuseparator/>
  81.           <template>
  82.             <!-- this parent="menupopup" here seems to prevent the template builder from recursing. -->
  83.             <rule parent="menupopup">
  84.               <menuitem uri="rdf:*" class="menuitem-iconic folder-icon"
  85.                         label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  86.             </rule>
  87.           </template>
  88.         </menupopup>
  89.       </menulist>
  90.       <button id="expander" class="down" oncommand="expandTree();"
  91.                tooltiptextdown="&flock.expanderDown.tooltip;"
  92.                tooltiptextup="&expanderUp.tooltip;"/>
  93.   </hbox>
  94.   <bookmarks-tree id="folder-tree" flex="1" type="folders" collapsed="true"
  95.                 seltype="single" persist="height" rows="6"
  96.                 onselect="selectTreeFolder();"/>        
  97.   <separator class="thin"/>
  98.   <hbox id="newFolderArea" align="right" hidden="true">
  99.     <spacer flex="1" />
  100.     <button id="newFolder" label="&button.newfolder.label;" oncommand="newFolder();"/>
  101.   </hbox>
  102.  
  103.   </vbox>
  104.  
  105. </dialog>
  106.